package com.hdj.chapter1.demo2;

/**
 * 建工厂类</br>
 *
 * @author hedajiang
 * @create 2017/12/12
 * @since 1.0.0
 */
public class SendFactory {
    public Sender produceMailSender(){
        return new MailSender();
    }

    public Sender produceSmsSender(){
        return new SmsSender();
    }
}